package com.yc.navy.goods.enums;

public enum ResultEnum {
	CODE_ERROR(510,"验证码"),
	ERROR(500,"错误"),
	SUCCESS(200,"成功"),
	NOTLOGIN(511,"未登录"),
	NOTFOUND(512,"未找到"),
	INCOMPLETEINFORMATION(513,"信息不完整"),
	NOT_DATA(600,"没有数据"),
	NOT_NUM(601,"库存不足");
	
	private Integer code;
	private String message;
	
	ResultEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}
	
	private ResultEnum() {
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
